<html>
<head><meta charset="utf-8"><title>rustlings · project-error-handling · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/index.html">project-error-handling</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html">rustlings</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242009448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242009448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242009448">(Jun 09 2021 at 01:48)</a>:</h4>
<p>so i quickly worked through the rustlings course and got frustrated with the conversion exercises, where i wished i could have used <code>?</code> in lots of places, but often the error type was simply <code>String</code>. i submitted a patch to change that to <code>Box&lt;dyn Error&gt;</code> for easier use of <code>?</code>. that turned out to cause other users to be confused, so i started reading in more detail about error handling in Rust</p>



<a name="242009491"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242009491" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242009491">(Jun 09 2021 at 01:49)</a>:</h4>
<p>thinking about it more, i realized there was a large jump in difficulty in the <code>error_handling</code> exercises: <a href="https://github.com/rust-lang/rustlings/issues/756">https://github.com/rust-lang/rustlings/issues/756</a> so i submitted the previously mentioned pull request <a href="https://github.com/rust-lang/rustlings/pull/772">https://github.com/rust-lang/rustlings/pull/772</a> with some improvements</p>



<a name="242009681"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242009681" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242009681">(Jun 09 2021 at 01:52)</a>:</h4>
<p>there's a bit of a sequencing problem because some more advanced Rust language concepts are needed before teaching some of the other best practices: mapping errors with <code>map_err</code> etc require familiarity with closures, for example, so having custom error types that wrap other errors has to wait for that. similarly, implementing <code>From</code>, which is needed for the <code>?</code> operator to work cleanly with custom error types, needs to wait until after the conversion traits are introduced</p>



<a name="242072470"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242072470" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sean Chen (he/him) <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242072470">(Jun 09 2021 at 14:17)</a>:</h4>
<p>Yea, Jane's been brainstorming an API for a concrete wrapper type around <code>Box&lt;dyn Error&gt;</code>s (which you can see <a href="https://gist.github.com/yaahc/c9348cca4aa34ba8bc92f41ba543919d">here</a>), not specifically to address this, though I wonder if it would have the added benefit of being more appropriate to introduce at an earlier point in rustlings, since it would just be a struct called <code>DynError</code> that wraps a <code>Box&lt;dyn Error&gt;</code>. I'm thinking this way newcomers only have to wrap their brain around a single error type and how to work with it instead of being exposed to <code>Box</code>, <code>dyn</code>, and the <code>Error</code> trait all at once.</p>



<a name="242083394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083394">(Jun 09 2021 at 15:26)</a>:</h4>
<p>that does have some appeal, though i wonder if it would take a while to reach consensus on it. i guess a big part of the general problem is that <code>Result&lt;T, E&gt;</code> is quite versatile and underconstrained, and existing tutorial materials don't provide much guidance about what to use as <code>E</code>. (and include some worst practices such as <code>Result&lt;T, String&gt;</code>)</p>



<a name="242083496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083496">(Jun 09 2021 at 15:26)</a>:</h4>
<p>it's definitely far too early for it to go into rustlings though</p>



<a name="242083551"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083551" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083551">(Jun 09 2021 at 15:26)</a>:</h4>
<p>we still need to actually test it out for a while, particularly given that there are already concerns about how teachable it will be</p>



<a name="242083553"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083553" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sean Chen (he/him) <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083553">(Jun 09 2021 at 15:26)</a>:</h4>
<blockquote>
<p>it's definitely far too early for it to go into rustlings though</p>
</blockquote>
<p>Sure; just a thought <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="242083590"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083590" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083590">(Jun 09 2021 at 15:27)</a>:</h4>
<p>since this approach would introduce a separate Result type</p>



<a name="242083662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242083662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242083662">(Jun 09 2021 at 15:27)</a>:</h4>
<p>it's a good idea, but yea, just not yet</p>



<a name="242084249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242084249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sean Chen (he/him) <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242084249">(Jun 09 2021 at 15:30)</a>:</h4>
<p>Does rustlings cover defining error enums to capture different error variants? I feel like that could be introduced earlier than <code>Box&lt;dyn Error&gt;</code>, though you'd still have to introduce the <code>Error</code> trait and deriving it for the error enum.</p>



<a name="242084714"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242084714" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242084714">(Jun 09 2021 at 15:33)</a>:</h4>
<p>that's partly what my current PR is trying to do. one thing i realized that would make the teaching easier is that you don't have to implement all of <code>error::Error</code> to get some of the benefits of using custom error types. like you can use <code>?</code> as soon as you have all the required <code>From&lt;E&gt; for MyError</code> traits implemented</p>



<a name="242085737"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242085737" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242085737">(Jun 09 2021 at 15:39)</a>:</h4>
<p>right now the <code>error_handling</code> section of rustlings comes before anything that uses closures or conversion traits. so it might make sense to add an <code>advanced_errors</code> section that comes after those, so we can teach <code>map_err</code> (to help with custom error variants that embed a lower-level error) and <code>From&lt;E&gt; for MyError</code> (so <code>?</code> can work nicely). and then later on teach <code>Display</code> and the full <code>error::Error</code> trait, probably via an exercise that simulates an application calling a function returning the custom error but returns a boxed error (so the custom error would have to fully implement <code>Error</code>)</p>



<a name="242085947"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242085947" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242085947">(Jun 09 2021 at 15:40)</a>:</h4>
<p>we should probably also teach <code>.ok_or</code> if that isn't already in rustlings somewhere</p>



<a name="242085974"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242085974" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242085974">(Jun 09 2021 at 15:41)</a>:</h4>
<p>reviewing your PR right now btw</p>



<a name="242086406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242086406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242086406">(Jun 09 2021 at 15:43)</a>:</h4>
<p>yeah, i had been wondering why so many helpful methods on <code>Option</code> and <code>Result</code> aren't really covered at all in our tutorial material. i'm actually writing up method overview sections for <code>Option</code> and <code>Result</code> for the std docs, including "truth tables" for the boolean-like operators/combinators</p>



<a name="242086545"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242086545" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242086545">(Jun 09 2021 at 15:44)</a>:</h4>
<p>fancy</p>



<a name="242086877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242086877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242086877">(Jun 09 2021 at 15:46)</a>:</h4>
<p>oh, another thing i just realized: mapping functions can take ordinary function pointers as well as closures, so that's one way to sidestep introducing closures (though i think currently rustlings doesn't explicitly teach closures; it might drop them directly into an iterators exercise without introduction?)</p>



<a name="242087205"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242087205" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sean Chen (he/him) <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242087205">(Jun 09 2021 at 15:49)</a>:</h4>
<p>I feel like function pointers are encountered way less often in Rust than closures (though maybe that's just me?), which is to say I'm not sure if a newcomer would know what a function pointer is in the context of Rust (though they might certainly have seen them in other language contexts).</p>



<a name="242087263"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242087263" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Sean Chen (he/him) <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242087263">(Jun 09 2021 at 15:49)</a>:</h4>
<p>Rustlings not covering closures seems like a gaping hole though..</p>



<a name="242087402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242087402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242087402">(Jun 09 2021 at 15:50)</a>:</h4>
<p>im assuming they just cover it later</p>



<a name="242087478"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242087478" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242087478">(Jun 09 2021 at 15:51)</a>:</h4>
<p>and yea, using a fn sounds like a good idea</p>



<a name="242087529"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242087529" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242087529">(Jun 09 2021 at 15:51)</a>:</h4>
<p>you could do something like <code>fallible_fn.ok_or(MyError::from)</code></p>



<a name="242088361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088361">(Jun 09 2021 at 15:57)</a>:</h4>
<p>that way you don't have to introduce even more boilerplate than would normally be needed</p>



<a name="242088614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088614">(Jun 09 2021 at 15:58)</a>:</h4>
<p>yeah, and it could even be an ordinary associated function, to avoid introducing the <code>From</code> trait too early</p>



<a name="242088671"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088671" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088671">(Jun 09 2021 at 15:59)</a>:</h4>
<p><span class="user-mention silent" data-user-id="411291">Taylor Yu [they/she]</span> <a href="#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088614">said</a>:</p>
<blockquote>
<p>yeah, and it could even be an ordinary associated function, to avoid introducing the <code>From</code> trait too early</p>
</blockquote>
<p>aah, i didn't realize it hadn't been introduced yet by the 6th error exercise</p>



<a name="242088780"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088780" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088780">(Jun 09 2021 at 15:59)</a>:</h4>
<p>was trying to avoid having functions / methods just for each from impl that would be needed, but i guess that's fine since you will clarify later</p>



<a name="242088787"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088787" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088787">(Jun 09 2021 at 15:59)</a>:</h4>
<p>currently, generics come after the error handling section</p>



<a name="242088798"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088798" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088798">(Jun 09 2021 at 15:59)</a>:</h4>
<p>and actually that leads well into From</p>



<a name="242088807"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088807" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088807">(Jun 09 2021 at 16:00)</a>:</h4>
<p>since you can be like</p>



<a name="242088879"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088879" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088879">(Jun 09 2021 at 16:00)</a>:</h4>
<p>"remember this? actually doing this every time is annoying, so we have a trait for it!"</p>



<a name="242088892"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088892" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088892">(Jun 09 2021 at 16:00)</a>:</h4>
<p>or smth</p>



<a name="242088959"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088959" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088959">(Jun 09 2021 at 16:00)</a>:</h4>
<p><span class="user-mention silent" data-user-id="411291">Taylor Yu [they/she]</span> <a href="#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088787">said</a>:</p>
<blockquote>
<p>currently, generics come after the error handling section</p>
</blockquote>
<p>I liked your earlier suggestion about having an advanced error handling section</p>



<a name="242088989"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242088989" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242088989">(Jun 09 2021 at 16:00)</a>:</h4>
<p>might be that we just teach most of error handling in the advanced section</p>



<a name="242089050"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242089050" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242089050">(Jun 09 2021 at 16:01)</a>:</h4>
<p>have whatever simple examples we can for pre generics and closures</p>



<a name="242089085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242089085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242089085">(Jun 09 2021 at 16:01)</a>:</h4>
<p>then do a full tutorial later using all the necessary features</p>



<a name="242502851"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242502851" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242502851">(Jun 13 2021 at 10:35)</a>:</h4>
<p>coming late to the party, it would be a good idea to separate EH into two parts, basic one and advanced, just like the Rust Book does</p>



<a name="242503051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242503051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242503051">(Jun 13 2021 at 10:39)</a>:</h4>
<p>also it's good to know that so many people  learn from  rustlings (for instance I did not know they were so popular)</p>



<a name="242503108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242503108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242503108">(Jun 13 2021 at 10:40)</a>:</h4>
<p>and amazing job on the truth tables (I ALWAYS have to look up the documentation to see what the functions do)</p>



<a name="242503121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242503121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242503121">(Jun 13 2021 at 10:41)</a>:</h4>
<p>which brings up the topic of not verbose documentation in several places</p>



<a name="242503124"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/242503124" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jakub Duchniewicz <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#242503124">(Jun 13 2021 at 10:41)</a>:</h4>
<p>or not concise enough</p>



<a name="243869703"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/243869703" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#243869703">(Jun 25 2021 at 02:37)</a>:</h4>
<p>another pull request to hopefully alleviate some confusion caused by boxed errors <a href="https://github.com/rust-lang/rustlings/pull/780">https://github.com/rust-lang/rustlings/pull/780</a></p>



<a name="243976037"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/243976037" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Taylor Yu [they/she] <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#243976037">(Jun 25 2021 at 22:01)</a>:</h4>
<p>advanced errors: <a href="https://github.com/rust-lang/rustlings/pull/781">https://github.com/rust-lang/rustlings/pull/781</a></p>



<a name="243980500"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257204-project-error-handling/topic/rustlings/near/243980500" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jane Lusby <a href="https://rust-lang.github.io/zulip_archive/stream/257204-project-error-handling/topic/rustlings.html#243980500">(Jun 25 2021 at 23:08)</a>:</h4>
<p>just wanna give you a heads up <span class="user-mention" data-user-id="411291">@Taylor Yu [they/she]</span>  that I probably wont be able to review these until monday</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>